package com.fndsoft.police.xuancheng.ui.main;

import android.os.Handler;
import android.os.Handler.Callback;
import android.os.Message;

import com.fndsoft.police.xuancheng.domain.ThreadMessage;
import com.fndsoft.police.xuancheng.net.OperateCode;
import com.fndsoft.police.xuancheng.ui.base.BaseAc;
import com.fndsoft.police.xuancheng.util.ConfigUtil;

/**
 * @author carlos carlosk@163.com
 * @version 创建时间：2012-9-30 上午7:02:05 类说明
 */

public class WelcomeAc extends BaseAc {

	@Override
	protected void installViews() {
		new Handler(new Callback() {
			@Override
			public boolean handleMessage(Message msg) {
				Class<? extends BaseAc> class1 = LoadingAc.class;
				if (ConfigUtil.isLXJ()) {

				} else if (ConfigUtil.isWS()) {

				} else if (ConfigUtil.isYan()) {
				}
				if (null != class1) {
					startCOActivity(class1);
					finish();
				}
				return false;
			}
		}).sendEmptyMessageDelayed(1, 500);
	}

	@Override
	protected void initData() {
	}

	@Override
	public boolean isCustomBackBtnEvent() {
		return false;
	}

	@Override
	public void doResponseFinished(OperateCode operateCode,
			ThreadMessage threadMessage) {

	}
}
